<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <title>DateDemo.html</title>
	
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="this is my page">
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    
    <script language="JavaScript" type="text/javascript" src="WdatePicker.js"></script>

  </head>
  
  <body>
  	普通调用
  	<input id="d11" type="text" onClick="WdatePicker()"/>
  	显示周
  	<input id="d121" type="text" onfocus="WdatePicker({isShowWeek:true})"/>
  	<br>
  	图标触发
  	<input id="d12" type="text"/>
	<img onclick="WdatePicker({el:'d12'})" src="My97DatePicker/skin/datePicker.gif" width="16" height="22" align="absmiddle">
  	<br>
  	将周赋值给其他文本
  	<input type="text" class="Wdate" id="d122" onFocus="WdatePicker({isShowWeek:true,onpicked:function() {$dp.$('d122_1').value=$dp.cal.getP('W','W');$dp.$('d122_2').value=$dp.cal.getP('W','WW');}})"/>
  	<br>
  	带样式
  	<input type="text" id="d241" onfocus="WdatePicker({dateFmt:'yyyy年MM月dd日 HH时mm分ss秒'})" class="Wdate"/>
  	<br>
  	可以设置长度
  	<input type="text" id="d241" onfocus="WdatePicker({dateFmt:'yyyy年MM月dd日 HH时mm分ss秒'})" class="Wdate" style="width:300px"/>
  	<br>
  	时分秒
  	<input type="text" id="d242" onfocus="WdatePicker({skin:'whyGreen',dateFmt:'H:mm:ss'})" class="Wdate"/>
  	<br>
  	双月日历
  	<input class="Wdate" type="text" onfocus="WdatePicker({doubleCalendar:true,dateFmt:'yyyy-MM-dd'})"/>
  	<br>
  	<br>
  </body>
</html>
